<!DOCTYPE html>
<html lang="fr">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Slider Kit > Using lightbox</title>
		<meta name="Keywords" content="lightbox effect, modal popup, carousel, photo gallery" />
		<meta name="Description" content="Slider Kit jQuery slideshow plugin: lightbox examples" />
		
		<!-- jQuery library -->
		<script type="text/javascript" src="../lib/js/external/_oldies/jquery-1.3.min.js"></script>
		<!--<script type="text/javascript" src="../lib/js/external/jquery-1.6.2.min.js"></script>-->
		
		<!-- jQuery Plugin scripts -->
		<script type="text/javascript" src="../lib/js/external/jquery.easing.1.3.min.js"></script>
		<script type="text/javascript" src="../lib/js/external/jquery.mousewheel.min.js"></script>
		<script type="text/javascript" src="../lib/js/external/lightbox/jquery-lightbox/js/jquery.lightbox-0.5.pack.js"></script>
		
		<!-- Slider Kit scripts -->
		<script type="text/javascript" src="../lib/js/sliderkit/jquery.sliderkit.1.9.2.pack.js"></script>

		<!-- Slider Kit launch -->
		<script type="text/javascript">
			$(window).load(function(){ //$(window).load() must be used instead of $(document).ready() because of Webkit compatibility

				// Sliderkit photo gallery > With captions
				$(".photosgallery-captions").sliderkit({
					navscrollatend: true,
					mousewheel:true,
					keyboard:true,
					shownavitems:4,
					auto:false,
					fastchange:true
				});
				
				// jQuery Lightbox
				var lightboxPath = "../lib/js/external/lightbox/jquery-lightbox/";
				$("a[rel='group1']").lightBox({
					imageLoading:lightboxPath+"images/lightbox-ico-loading.gif",
					imageBtnPrev:lightboxPath+"images/lightbox-btn-prev.gif",
					imageBtnNext:lightboxPath+"images/lightbox-btn-next.gif",
					imageBtnClose:lightboxPath+"images/lightbox-btn-close.gif",
					imageBlank:lightboxPath+"images/lightbox-blank.gif"
				});
				
			});
		</script>
		
		<!-- Slider Kit styles -->
		<link rel="stylesheet" type="text/css" href="../lib/css/sliderkit-core.css" media="screen, projection" />
		<link rel="stylesheet" type="text/css" href="../lib/css/sliderkit-demos.css" media="screen, projection" />
		
		<!-- Slider Kit compatibility -->	
		<!--[if IE 6]><link rel="stylesheet" type="text/css" href="../lib/css/sliderkit-demos-ie6.css" /><![endif]-->
		<!--[if IE 7]><link rel="stylesheet" type="text/css" href="../lib/css/sliderkit-demos-ie7.css" /><![endif]-->
		<!--[if IE 8]><link rel="stylesheet" type="text/css" href="../lib/css/sliderkit-demos-ie8.css" /><![endif]-->

		<!-- Site styles -->
		<link rel="stylesheet" type="text/css" href="../lib/css/sliderkit-site.css" media="screen, projection" />
		
		<!-- Lightbox styles -->
		<link rel="stylesheet" type="text/css" href="../lib/js/external/lightbox/jquery-lightbox/css/jquery.lightbox-0.5.css" media="screen, projection" />
	</head>
	<body>
		<div id="header">
			<div id="header-wrapper">
				<div id="header-title"><a href="../sliderkit_en.html" title="SliderKit Homepage">Slider Kit, sliding contents with jQuery.</a></div>
				<div class="spacer"></div>
			</div>
		</div>
		<div id="page" class="inner layout-1col">
			<div id="content">
				<h1 class="code-first">Using lightbox</h1>
				
				<noscript><div class="noscript"><span class="code-sitename">Slider Kit</span> jQuery plugin requires Javascript activation.</div></noscript>

				<h2>Example with jQuery Lightbox (jquery-lightbox-0.5)</h2>
				<p>This example is based on lightbox plugin by Leandro Vieira Pinho: <a href="http://leandrovieira.com/projects/jquery/lightbox/" target="_blank">jQuery Lightbox</a>.</p>
				<p><strong>Features: </strong>mousewheel navigation, fast panel transition. The carousel scrolls if a line first or last thumbnail is clicked (<span class="code-setting">navscrollatend</span> option is set to <span class="code-value">true</span>).</p>
				
				<!-- Start photosgallery-captions -->
				<div class="sliderkit photosgallery-captions">
					<div class="sliderkit-nav">
						<div class="sliderkit-nav-clip">
							<ul>
								<li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-01.jpg" alt="[Alternative text]" /></a></li>
								<li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-02.jpg" alt="[Alternative text]" /></a></li>
								<li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-03.jpg" alt="[Alternative text]" /></a></li>
								<li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-04.jpg" alt="[Alternative text]" /></a></li>
								<li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-05.jpg" alt="[Alternative text]" /></a></li>
								<li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-06.jpg" alt="[Alternative text]" /></a></li>
								<li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-07.jpg" alt="[Alternative text]" /></a></li>
								<li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-08.jpg" alt="[Alternative text]" /></a></li>
								<li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-09.jpg" alt="[Alternative text]" /></a></li>
								<li><a href="#" rel="nofollow" title="[link title]"><img src="../lib/images/photos/mini/sample-10.jpg" alt="[Alternative text]" /></a></li>
							</ul>
						</div>
						<div class="sliderkit-btn sliderkit-nav-btn sliderkit-nav-prev"><a rel="nofollow" href="#" title="Previous line"><span>Previous line</span></a></div>
						<div class="sliderkit-btn sliderkit-nav-btn sliderkit-nav-next"><a rel="nofollow" href="#" title="Next line"><span>Next line</span></a></div>
						<div class="sliderkit-btn sliderkit-go-btn sliderkit-go-prev"><a rel="nofollow" href="#" title="Previous photo"><span>Previous photo</span></a></div>
						<div class="sliderkit-btn sliderkit-go-btn sliderkit-go-next"><a rel="nofollow" href="#" title="Next photo"><span>Next photo</span></a></div>
					</div>
					<div class="sliderkit-panels">
						<div class="sliderkit-btn sliderkit-go-btn sliderkit-go-prev"><a rel="nofollow" href="#" title="Previous"><span>Previous</span></a></div>
						<div class="sliderkit-btn sliderkit-go-btn sliderkit-go-next"><a rel="nofollow" href="#" title="Next"><span>Next</span></a></div>

						<div class="sliderkit-panel">
							<a href="../lib/images/photos/sample-01.jpg" title="[title]" rel="group1"><img src="../lib/images/photos/sample-01.jpg" alt="[Alternative text]" /></a>
						</div>
						<div class="sliderkit-panel">
							<a href="../lib/images/photos/sample-02.jpg" title="[title]" rel="group1"><img src="../lib/images/photos/sample-02.jpg" alt="[Alternative text]" /></a>
							<div class="sliderkit-panel-textbox">
								<div class="sliderkit-panel-text">
									<h4>sample-02.jpg</h4>
									<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh.</p>
								</div>
								<div class="sliderkit-panel-overlay"></div>
							</div>
						</div>
						<div class="sliderkit-panel">
							<a href="../lib/images/photos/sample-03.jpg" title="[title]" rel="group1"><img src="../lib/images/photos/sample-03.jpg" alt="[Alternative text]" /></a>
							<div class="sliderkit-panel-textbox">
								<div class="sliderkit-panel-text">
									<h4>sample-03.jpg</h4>
									<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt.</p>
								</div>
								<div class="sliderkit-panel-overlay"></div>
							</div>
						</div>
						<div class="sliderkit-panel">
							<a href="../lib/images/photos/sample-04.jpg" title="[title]" rel="group1"><img src="../lib/images/photos/sample-04.jpg" alt="[Alternative text]" /></a>
						</div>
						<div class="sliderkit-panel">
							<a href="../lib/images/photos/sample-05.jpg" title="[title]" rel="group1"><img src="../lib/images/photos/sample-05.jpg" alt="[Alternative text]" /></a>
							<div class="sliderkit-panel-textbox">
								<div class="sliderkit-panel-text">
									<h4>sample-05.jpg</h4>
									<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
								</div>
								<div class="sliderkit-panel-overlay"></div>
							</div>
						</div>
						<div class="sliderkit-panel">
							<a href="../lib/images/photos/sample-06.jpg" title="[title]" rel="group1"><img src="../lib/images/photos/sample-06.jpg" alt="[Alternative text]" /></a>
							<div class="sliderkit-panel-textbox">
								<div class="sliderkit-panel-text">
									<h4>sample-06.jpg</h4>
									<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
								</div>
								<div class="sliderkit-panel-overlay"></div>
							</div>
						</div>
						<div class="sliderkit-panel">
							<a href="../lib/images/photos/sample-07.jpg" title="[title]" rel="group1"><img src="../lib/images/photos/sample-07.jpg" alt="[Alternative text]" /></a>
						</div>
						<div class="sliderkit-panel">
							<a href="../lib/images/photos/sample-08.jpg" title="[title]" rel="group1"><img src="../lib/images/photos/sample-08.jpg" alt="[Alternative text]" /></a>
						</div>
						<div class="sliderkit-panel">
							<a href="../lib/images/photos/sample-09.jpg" title="[title]" rel="group1"><img src="../lib/images/photos/sample-09.jpg" alt="[Alternative text]" /></a>
						</div>
						<div class="sliderkit-panel">
							<a href="../lib/images/photos/sample-10.jpg" title="[title]" rel="group1"><img src="../lib/images/photos/sample-10.jpg" alt="[Alternative text]" /></a>
						</div>
					</div>
				</div>
				<!-- // end of photosgallery-captions -->
				
				<div class="code-notes">
					<h4>Notes</h4>
					<ul>
						<li>Known issue: jQuery Lightbox plugin won't work with Slider Kit ImageFx add-on.</li>
					</ul>
				</div>
				
			</div>
			<div class="spacer"></div>
		</div>
	</body>
</html>